<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <title>Audio module | Butano Docs</title>
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600" />
  <link rel="stylesheet" href="m-dark+documentation.compiled.css" />
  <link rel="icon" href="favicon-dark.png" type="image/png" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <meta name="theme-color" content="#22272e" />
</head>
<body>
<header><nav id="navigation">
  <div class="m-container">
    <div class="m-row">
      <span id="m-navbar-brand" class="m-col-t-8 m-col-m-none m-left-m">
        <a href="https://github.com/GValiente/butano">Butano</a> <span class="m-breadcrumb">|</span> <a href="index.html" class="m-thin">Docs</a>
      </span>
      <div class="m-col-t-4 m-hide-m m-text-right m-nopadr">
        <a href="#search" class="m-doc-search-icon" title="Search" onclick="return showSearch()"><svg style="height: 0.9rem;" viewBox="0 0 16 16">
          <path id="m-doc-search-icon-path" d="m6 0c-3.31 0-6 2.69-6 6 0 3.31 2.69 6 6 6 1.49 0 2.85-0.541 3.89-1.44-0.0164 0.338 0.147 0.759 0.5 1.15l3.22 3.79c0.552 0.614 1.45 0.665 2 0.115 0.55-0.55 0.499-1.45-0.115-2l-3.79-3.22c-0.392-0.353-0.812-0.515-1.15-0.5 0.895-1.05 1.44-2.41 1.44-3.89 0-3.31-2.69-6-6-6zm0 1.56a4.44 4.44 0 0 1 4.44 4.44 4.44 4.44 0 0 1-4.44 4.44 4.44 4.44 0 0 1-4.44-4.44 4.44 4.44 0 0 1 4.44-4.44z"/>
        </svg></a>
        <a id="m-navbar-show" href="#navigation" title="Show navigation"></a>
        <a id="m-navbar-hide" href="#" title="Hide navigation"></a>
      </div>
      <div id="m-navbar-collapse" class="m-col-t-12 m-show-m m-col-m-none m-right-m">
        <div class="m-row">
          <ol class="m-col-t-6 m-col-m-none">
            <li><a href="pages.html">Pages</a></li>
            <li><a href="modules.html">Modules</a></li>
          </ol>
          <ol class="m-col-t-6 m-col-m-none" start="3">
            <li><a href="namespaces.html">Namespaces</a></li>
            <li><a href="annotated.html">Classes</a></li>
            <li><a href="files.html">Files</a></li>
            <li class="m-show-m"><a href="#search" class="m-doc-search-icon" title="Search" onclick="return showSearch()"><svg style="height: 0.9rem;" viewBox="0 0 16 16">
              <use href="#m-doc-search-icon-path" />
            </svg></a></li>
          </ol>
        </div>
      </div>
    </div>
  </div>
</nav></header>
<main><article>
  <div class="m-container m-container-inflatable">
    <div class="m-row">
      <div class="m-col-l-10 m-push-l-1">
        <h1>
          Audio <span class="m-thin">module</span></h1>
        <nav class="m-block m-default">
          <h3>Contents</h3>
          <ul>
            <li>
              Reference
              <ul>
                <li><a href="#groups">Modules</a></li>
                <li><a href="#files">Files</a></li>
                <li><a href="#namespaces">Namespaces</a></li>
                <li><a href="#enum-members">Enums</a></li>
                <li><a href="#define-members">Defines</a></li>
              </ul>
            </li>
          </ul>
        </nav>
<p>Music for your ears, using both Direct Sound and DMG channels.</p>
        <section id="groups">
          <h2><a href="#groups">Modules</a></h2>
          <dl class="m-doc">
            <dt>module <a href="group__music.html" class="m-doc">Music</a></dt>
            <dd></dd>
            <dt>module <a href="group__dmg__music.html" class="m-doc">DMG music</a></dt>
            <dd></dd>
            <dt>module <a href="group__sound.html" class="m-doc">Sound effects</a></dt>
            <dd></dd>
          </dl>
        </section>
        <section id="files">
          <h2><a href="#files">Files</a></h2>
          <dl class="m-doc">
            <dt>file <a href="bn__audio_8h.html" class="m-doc">bn_audio.h</a></dt>
            <dd></dd>
            <dt>file <a href="bn__audio__mixing__rate_8h.html" class="m-doc">bn_audio_mixing_rate.h</a></dt>
            <dd></dd>
            <dt>file <a href="bn__config__audio_8h.html" class="m-doc">bn_config_audio.h</a></dt>
            <dd></dd>
          </dl>
        </section>
        <section id="namespaces">
          <h2><a href="#namespaces">Namespaces</a></h2>
          <dl class="m-doc">
            <dt>namespace <a href="namespacebn.html" class="m-doc">bn</a></dt>
            <dd>Main Butano namespace.</dd>
            <dt>namespace <a href="namespacebn_1_1audio.html" class="m-doc">bn::audio</a></dt>
            <dd>Audio related functions.</dd>
          </dl>
        </section>
        <section id="enum-members">
          <h2><a href="#enum-members">Enums</a></h2>
          <dl class="m-doc">
            <dt>
              <span class="m-doc-wrap-bumper">enum class <a href="#ga83a83c1efc0dec2d02ad0e430680bb8c" class="m-doc">audio_mixing_rate</a>: uint8_t { </span><span class="m-doc-wrap"><a href="#gga83a83c1efc0dec2d02ad0e430680bb8ca05b5798fb997438d390061abd3d94d62" class="m-doc">KHZ_8</a> = BN_AUDIO_MIXING_RATE_8_KHZ,
              <a href="#gga83a83c1efc0dec2d02ad0e430680bb8ca8440098432bffb106be0c2f1a81b7de0" class="m-doc">KHZ_10</a> = BN_AUDIO_MIXING_RATE_10_KHZ,
              <a href="#gga83a83c1efc0dec2d02ad0e430680bb8ca801cbb804598422ecbd4657fca495413" class="m-doc">KHZ_12</a> = BN_AUDIO_MIXING_RATE_12_KHZ,
              <a href="#gga83a83c1efc0dec2d02ad0e430680bb8ca797e91f018604fb26f7d83a3b34328c7" class="m-doc">KHZ_13</a> = BN_AUDIO_MIXING_RATE_13_KHZ,
              <a href="#gga83a83c1efc0dec2d02ad0e430680bb8ca6dbe01f151ab6d51e1c448794bf0c0e8" class="m-doc">KHZ_16</a> = BN_AUDIO_MIXING_RATE_16_KHZ,
              <a href="#gga83a83c1efc0dec2d02ad0e430680bb8caa2677aa67ba13c4cbf621e5c245ceaad" class="m-doc">KHZ_18</a> = BN_AUDIO_MIXING_RATE_18_KHZ,
              <a href="#gga83a83c1efc0dec2d02ad0e430680bb8cabb9da8efdcaf62d97e173e5557c3760f" class="m-doc">KHZ_20</a> = BN_AUDIO_MIXING_RATE_20_KHZ,
              <a href="#gga83a83c1efc0dec2d02ad0e430680bb8caa12bea74cc9133edaaef591e96830733" class="m-doc">KHZ_21</a> = BN_AUDIO_MIXING_RATE_21_KHZ,
              <a href="#gga83a83c1efc0dec2d02ad0e430680bb8ca39bb2ec17862c09d78da06fcd0c01164" class="m-doc">KHZ_24</a> = BN_AUDIO_MIXING_RATE_24_KHZ,
              <a href="#gga83a83c1efc0dec2d02ad0e430680bb8ca1e076fbba87925a8e44f144f543d32f4" class="m-doc">KHZ_27</a> = BN_AUDIO_MIXING_RATE_27_KHZ,
              <a href="#gga83a83c1efc0dec2d02ad0e430680bb8ca88b6b505233d8a8ccf2e001aa4fbe734" class="m-doc">KHZ_28</a> = BN_AUDIO_MIXING_RATE_28_KHZ,
              <a href="#gga83a83c1efc0dec2d02ad0e430680bb8ca3e94ce2568420d0e63608a0549030cac" class="m-doc">KHZ_31</a> = BN_AUDIO_MIXING_RATE_31_KHZ,
              <a href="#gga83a83c1efc0dec2d02ad0e430680bb8ca8b3e1ad1cc68f04cb62e8a2a5f3b5c94" class="m-doc">KHZ_32</a> = BN_AUDIO_MIXING_RATE_32_KHZ }</span>
            </dt>
            <dd>Specifies the available Direct Sound mixing rates.</dd>
          </dl>
        </section>
        <section id="define-members">
          <h2><a href="#define-members">Defines</a></h2>
          <dl class="m-doc">
            <dt>
              <span class="m-doc-wrap-bumper">#define <a href="#ga6884ad292c2e4bc8dff08efc7e05a52b" class="m-doc">BN_AUDIO_MIXING_RATE_8_KHZ</a></span>
            </dt>
            <dd></dd>
            <dt>
              <span class="m-doc-wrap-bumper">#define <a href="#ga25a99479a24a26d5a6f070845de6ccc3" class="m-doc">BN_AUDIO_MIXING_RATE_10_KHZ</a></span>
            </dt>
            <dd></dd>
            <dt>
              <span class="m-doc-wrap-bumper">#define <a href="#ga2e046fc2292a40aaed3baa2dfa6ca3ab" class="m-doc">BN_AUDIO_MIXING_RATE_12_KHZ</a></span>
            </dt>
            <dd></dd>
            <dt>
              <span class="m-doc-wrap-bumper">#define <a href="#gaf1f5ed6c1778a542c6b709ab62aac90e" class="m-doc">BN_AUDIO_MIXING_RATE_13_KHZ</a></span>
            </dt>
            <dd></dd>
            <dt>
              <span class="m-doc-wrap-bumper">#define <a href="#ga61ee9cd34279cd755a932676a87d5f69" class="m-doc">BN_AUDIO_MIXING_RATE_16_KHZ</a></span>
            </dt>
            <dd></dd>
            <dt>
              <span class="m-doc-wrap-bumper">#define <a href="#ga33d10fb74660bcb39c3af968adc7235e" class="m-doc">BN_AUDIO_MIXING_RATE_18_KHZ</a></span>
            </dt>
            <dd></dd>
            <dt>
              <span class="m-doc-wrap-bumper">#define <a href="#gafa31aa85ff4a41fea465bf8ad182473e" class="m-doc">BN_AUDIO_MIXING_RATE_20_KHZ</a></span>
            </dt>
            <dd></dd>
            <dt>
              <span class="m-doc-wrap-bumper">#define <a href="#gae7e0ca3bdf8f1722aaf2eed4a4620735" class="m-doc">BN_AUDIO_MIXING_RATE_21_KHZ</a></span>
            </dt>
            <dd></dd>
            <dt>
              <span class="m-doc-wrap-bumper">#define <a href="#gac0f69f3fee001c4eaf00a7548aab02a7" class="m-doc">BN_AUDIO_MIXING_RATE_24_KHZ</a></span>
            </dt>
            <dd></dd>
            <dt>
              <span class="m-doc-wrap-bumper">#define <a href="#gae2001bdb6a5d59b5388f4b328fad5389" class="m-doc">BN_AUDIO_MIXING_RATE_27_KHZ</a></span>
            </dt>
            <dd></dd>
            <dt>
              <span class="m-doc-wrap-bumper">#define <a href="#ga326895f6c896a53e5bb413c0cb733a5b" class="m-doc">BN_AUDIO_MIXING_RATE_28_KHZ</a></span>
            </dt>
            <dd></dd>
            <dt>
              <span class="m-doc-wrap-bumper">#define <a href="#ga40c5e3d1bd25d563f14e49b4f5fc1fe2" class="m-doc">BN_AUDIO_MIXING_RATE_31_KHZ</a></span>
            </dt>
            <dd></dd>
            <dt>
              <span class="m-doc-wrap-bumper">#define <a href="#ga2354778524e6096596ef0f14cade4b5e" class="m-doc">BN_AUDIO_MIXING_RATE_32_KHZ</a></span>
            </dt>
            <dd></dd>
            <dt>
              <span class="m-doc-wrap-bumper">#define <a href="#ga7b90a013ba3f2fd8f4fbf9af10f7f7af" class="m-doc">BN_CFG_AUDIO_MIXING_RATE</a></span>
            </dt>
            <dd></dd>
            <dt>
              <span class="m-doc-wrap-bumper">#define <a href="#ga1771db534d475f52423a865a1f974654" class="m-doc">BN_CFG_AUDIO_STEREO</a></span>
            </dt>
            <dd></dd>
            <dt>
              <span class="m-doc-wrap-bumper">#define <a href="#gab0d547ea05a5ab8a50a3d22d0021fc48" class="m-doc">BN_CFG_AUDIO_DYNAMIC_MIXING</a></span>
            </dt>
            <dd></dd>
            <dt>
              <span class="m-doc-wrap-bumper">#define <a href="#gac76e20400cf04b870f8c848980deaa85" class="m-doc">BN_CFG_AUDIO_MAX_COMMANDS</a></span>
            </dt>
            <dd></dd>
          </dl>
        </section>
        <section>
          <h2>Enum documentation</h2>
          <section class="m-doc-details" id="ga83a83c1efc0dec2d02ad0e430680bb8c"><div>
            <h3>
              enum class <a href="#ga83a83c1efc0dec2d02ad0e430680bb8c" class="m-doc-self">audio_mixing_rate</a>: uint8_t
              <div class="m-doc-include m-code m-inverted m-text-right"><span class="cp">#include</span> <a class="cpf" href="bn__audio__mixing__rate_8h.html">&lt;bn_audio_mixing_rate.h&gt;</a></div>
            </h3>
            <p>Specifies the available Direct Sound mixing rates.</p>
            <table class="m-table m-fullwidth m-flat m-doc">
              <thead><tr><th style="width: 1%">Enumerators</th><th></th></tr></thead>
              <tbody>
                <tr>
                  <td><a href="#gga83a83c1efc0dec2d02ad0e430680bb8ca05b5798fb997438d390061abd3d94d62" class="m-doc-self" id="gga83a83c1efc0dec2d02ad0e430680bb8ca05b5798fb997438d390061abd3d94d62">KHZ_8</a></td>
                  <td>
                  <p>8KHz mixing rate, provides poor quality.</p>
                  </td>
                </tr>
                <tr>
                  <td><a href="#gga83a83c1efc0dec2d02ad0e430680bb8ca8440098432bffb106be0c2f1a81b7de0" class="m-doc-self" id="gga83a83c1efc0dec2d02ad0e430680bb8ca8440098432bffb106be0c2f1a81b7de0">KHZ_10</a></td>
                  <td>
                  <p>10Khz mixing rate, provides low quality.</p>
                  </td>
                </tr>
                <tr>
                  <td><a href="#gga83a83c1efc0dec2d02ad0e430680bb8ca801cbb804598422ecbd4657fca495413" class="m-doc-self" id="gga83a83c1efc0dec2d02ad0e430680bb8ca801cbb804598422ecbd4657fca495413">KHZ_12</a></td>
                  <td>
                  <p>12Khz mixing rate, provides almost OK quality.</p>
                  </td>
                </tr>
                <tr>
                  <td><a href="#gga83a83c1efc0dec2d02ad0e430680bb8ca797e91f018604fb26f7d83a3b34328c7" class="m-doc-self" id="gga83a83c1efc0dec2d02ad0e430680bb8ca797e91f018604fb26f7d83a3b34328c7">KHZ_13</a></td>
                  <td>
                  <p>13Khz mixing rate, provides almost OK quality.</p>
                  </td>
                </tr>
                <tr>
                  <td><a href="#gga83a83c1efc0dec2d02ad0e430680bb8ca6dbe01f151ab6d51e1c448794bf0c0e8" class="m-doc-self" id="gga83a83c1efc0dec2d02ad0e430680bb8ca6dbe01f151ab6d51e1c448794bf0c0e8">KHZ_16</a></td>
                  <td>
                  <p>16Khz mixing rate, provides OK quality, standard setting.</p>
                  </td>
                </tr>
                <tr>
                  <td><a href="#gga83a83c1efc0dec2d02ad0e430680bb8caa2677aa67ba13c4cbf621e5c245ceaad" class="m-doc-self" id="gga83a83c1efc0dec2d02ad0e430680bb8caa2677aa67ba13c4cbf621e5c245ceaad">KHZ_18</a></td>
                  <td>
                  <p>18Khz mixing rate, provides better quality, high CPU load.</p>
                  </td>
                </tr>
                <tr>
                  <td><a href="#gga83a83c1efc0dec2d02ad0e430680bb8cabb9da8efdcaf62d97e173e5557c3760f" class="m-doc-self" id="gga83a83c1efc0dec2d02ad0e430680bb8cabb9da8efdcaf62d97e173e5557c3760f">KHZ_20</a></td>
                  <td>
                  <p>20Khz mixing rate, provides better quality, high CPU load.</p>
                  </td>
                </tr>
                <tr>
                  <td><a href="#gga83a83c1efc0dec2d02ad0e430680bb8caa12bea74cc9133edaaef591e96830733" class="m-doc-self" id="gga83a83c1efc0dec2d02ad0e430680bb8caa12bea74cc9133edaaef591e96830733">KHZ_21</a></td>
                  <td>
                  <p>21Khz mixing rate, provides even better quality, higher CPU load.</p>
                  </td>
                </tr>
                <tr>
                  <td><a href="#gga83a83c1efc0dec2d02ad0e430680bb8ca39bb2ec17862c09d78da06fcd0c01164" class="m-doc-self" id="gga83a83c1efc0dec2d02ad0e430680bb8ca39bb2ec17862c09d78da06fcd0c01164">KHZ_24</a></td>
                  <td>
                  <p>24Khz mixing rate, provides even better quality, higher CPU load.</p>
                  </td>
                </tr>
                <tr>
                  <td><a href="#gga83a83c1efc0dec2d02ad0e430680bb8ca1e076fbba87925a8e44f144f543d32f4" class="m-doc-self" id="gga83a83c1efc0dec2d02ad0e430680bb8ca1e076fbba87925a8e44f144f543d32f4">KHZ_27</a></td>
                  <td>
                  <p>27Khz mixing rate, provides almost the best quality, almost the highest CPU load.</p>
                  </td>
                </tr>
                <tr>
                  <td><a href="#gga83a83c1efc0dec2d02ad0e430680bb8ca88b6b505233d8a8ccf2e001aa4fbe734" class="m-doc-self" id="gga83a83c1efc0dec2d02ad0e430680bb8ca88b6b505233d8a8ccf2e001aa4fbe734">KHZ_28</a></td>
                  <td>
                  <p>28Khz mixing rate, provides almost the best quality, almost the highest CPU load.</p>
                  </td>
                </tr>
                <tr>
                  <td><a href="#gga83a83c1efc0dec2d02ad0e430680bb8ca3e94ce2568420d0e63608a0549030cac" class="m-doc-self" id="gga83a83c1efc0dec2d02ad0e430680bb8ca3e94ce2568420d0e63608a0549030cac">KHZ_31</a></td>
                  <td>
                  <p>31Khz mixing rate, provides the best quality, highest CPU load.</p>
                  </td>
                </tr>
                <tr>
                  <td><a href="#gga83a83c1efc0dec2d02ad0e430680bb8ca8b3e1ad1cc68f04cb62e8a2a5f3b5c94" class="m-doc-self" id="gga83a83c1efc0dec2d02ad0e430680bb8ca8b3e1ad1cc68f04cb62e8a2a5f3b5c94">KHZ_32</a></td>
                  <td>
                  <p>32Khz mixing rate, provides the best quality, highest CPU load.</p>
                  </td>
                </tr>
              </tbody>
            </table>
          </div></section>
        </section>
        <section>
          <h2>Define documentation</h2>
          <section class="m-doc-details" id="ga6884ad292c2e4bc8dff08efc7e05a52b"><div>
            <h3>
              <span class="m-doc-wrap-bumper">#define <a href="#ga6884ad292c2e4bc8dff08efc7e05a52b" class="m-doc-self">BN_AUDIO_MIXING_RATE_8_KHZ</a></span>
              <div class="m-doc-include m-code m-inverted m-text-right"><span class="cp">#include</span> <a class="cpf" href="bn__audio__mixing__rate_8h.html">&lt;bn_audio_mixing_rate.h&gt;</a></div>
            </h3>
<p>8KHz mixing rate, provides poor quality.</p>
          </div></section>
          <section class="m-doc-details" id="ga25a99479a24a26d5a6f070845de6ccc3"><div>
            <h3>
              <span class="m-doc-wrap-bumper">#define <a href="#ga25a99479a24a26d5a6f070845de6ccc3" class="m-doc-self">BN_AUDIO_MIXING_RATE_10_KHZ</a></span>
              <div class="m-doc-include m-code m-inverted m-text-right"><span class="cp">#include</span> <a class="cpf" href="bn__audio__mixing__rate_8h.html">&lt;bn_audio_mixing_rate.h&gt;</a></div>
            </h3>
<p>10Khz mixing rate, provides low quality.</p>
          </div></section>
          <section class="m-doc-details" id="ga2e046fc2292a40aaed3baa2dfa6ca3ab"><div>
            <h3>
              <span class="m-doc-wrap-bumper">#define <a href="#ga2e046fc2292a40aaed3baa2dfa6ca3ab" class="m-doc-self">BN_AUDIO_MIXING_RATE_12_KHZ</a></span>
              <div class="m-doc-include m-code m-inverted m-text-right"><span class="cp">#include</span> <a class="cpf" href="bn__audio__mixing__rate_8h.html">&lt;bn_audio_mixing_rate.h&gt;</a></div>
            </h3>
<p>12Khz mixing rate, provides almost OK quality.</p>
          </div></section>
          <section class="m-doc-details" id="gaf1f5ed6c1778a542c6b709ab62aac90e"><div>
            <h3>
              <span class="m-doc-wrap-bumper">#define <a href="#gaf1f5ed6c1778a542c6b709ab62aac90e" class="m-doc-self">BN_AUDIO_MIXING_RATE_13_KHZ</a></span>
              <div class="m-doc-include m-code m-inverted m-text-right"><span class="cp">#include</span> <a class="cpf" href="bn__audio__mixing__rate_8h.html">&lt;bn_audio_mixing_rate.h&gt;</a></div>
            </h3>
<p>13Khz mixing rate, provides almost OK quality.</p>
          </div></section>
          <section class="m-doc-details" id="ga61ee9cd34279cd755a932676a87d5f69"><div>
            <h3>
              <span class="m-doc-wrap-bumper">#define <a href="#ga61ee9cd34279cd755a932676a87d5f69" class="m-doc-self">BN_AUDIO_MIXING_RATE_16_KHZ</a></span>
              <div class="m-doc-include m-code m-inverted m-text-right"><span class="cp">#include</span> <a class="cpf" href="bn__audio__mixing__rate_8h.html">&lt;bn_audio_mixing_rate.h&gt;</a></div>
            </h3>
<p>16Khz mixing rate, provides OK quality, standard setting.</p>
          </div></section>
          <section class="m-doc-details" id="ga33d10fb74660bcb39c3af968adc7235e"><div>
            <h3>
              <span class="m-doc-wrap-bumper">#define <a href="#ga33d10fb74660bcb39c3af968adc7235e" class="m-doc-self">BN_AUDIO_MIXING_RATE_18_KHZ</a></span>
              <div class="m-doc-include m-code m-inverted m-text-right"><span class="cp">#include</span> <a class="cpf" href="bn__audio__mixing__rate_8h.html">&lt;bn_audio_mixing_rate.h&gt;</a></div>
            </h3>
<p>18Khz mixing rate, provides better quality, high CPU load.</p>
          </div></section>
          <section class="m-doc-details" id="gafa31aa85ff4a41fea465bf8ad182473e"><div>
            <h3>
              <span class="m-doc-wrap-bumper">#define <a href="#gafa31aa85ff4a41fea465bf8ad182473e" class="m-doc-self">BN_AUDIO_MIXING_RATE_20_KHZ</a></span>
              <div class="m-doc-include m-code m-inverted m-text-right"><span class="cp">#include</span> <a class="cpf" href="bn__audio__mixing__rate_8h.html">&lt;bn_audio_mixing_rate.h&gt;</a></div>
            </h3>
<p>20Khz mixing rate, provides better quality, high CPU load.</p>
          </div></section>
          <section class="m-doc-details" id="gae7e0ca3bdf8f1722aaf2eed4a4620735"><div>
            <h3>
              <span class="m-doc-wrap-bumper">#define <a href="#gae7e0ca3bdf8f1722aaf2eed4a4620735" class="m-doc-self">BN_AUDIO_MIXING_RATE_21_KHZ</a></span>
              <div class="m-doc-include m-code m-inverted m-text-right"><span class="cp">#include</span> <a class="cpf" href="bn__audio__mixing__rate_8h.html">&lt;bn_audio_mixing_rate.h&gt;</a></div>
            </h3>
<p>21Khz mixing rate, provides even better quality, higher CPU load.</p>
          </div></section>
          <section class="m-doc-details" id="gac0f69f3fee001c4eaf00a7548aab02a7"><div>
            <h3>
              <span class="m-doc-wrap-bumper">#define <a href="#gac0f69f3fee001c4eaf00a7548aab02a7" class="m-doc-self">BN_AUDIO_MIXING_RATE_24_KHZ</a></span>
              <div class="m-doc-include m-code m-inverted m-text-right"><span class="cp">#include</span> <a class="cpf" href="bn__audio__mixing__rate_8h.html">&lt;bn_audio_mixing_rate.h&gt;</a></div>
            </h3>
<p>24Khz mixing rate, provides even better quality, higher CPU load.</p>
          </div></section>
          <section class="m-doc-details" id="gae2001bdb6a5d59b5388f4b328fad5389"><div>
            <h3>
              <span class="m-doc-wrap-bumper">#define <a href="#gae2001bdb6a5d59b5388f4b328fad5389" class="m-doc-self">BN_AUDIO_MIXING_RATE_27_KHZ</a></span>
              <div class="m-doc-include m-code m-inverted m-text-right"><span class="cp">#include</span> <a class="cpf" href="bn__audio__mixing__rate_8h.html">&lt;bn_audio_mixing_rate.h&gt;</a></div>
            </h3>
<p>27Khz mixing rate, provides almost the best quality, almost the highest CPU load.</p>
          </div></section>
          <section class="m-doc-details" id="ga326895f6c896a53e5bb413c0cb733a5b"><div>
            <h3>
              <span class="m-doc-wrap-bumper">#define <a href="#ga326895f6c896a53e5bb413c0cb733a5b" class="m-doc-self">BN_AUDIO_MIXING_RATE_28_KHZ</a></span>
              <div class="m-doc-include m-code m-inverted m-text-right"><span class="cp">#include</span> <a class="cpf" href="bn__audio__mixing__rate_8h.html">&lt;bn_audio_mixing_rate.h&gt;</a></div>
            </h3>
<p>28Khz mixing rate, provides almost the best quality, almost the highest CPU load.</p>
          </div></section>
          <section class="m-doc-details" id="ga40c5e3d1bd25d563f14e49b4f5fc1fe2"><div>
            <h3>
              <span class="m-doc-wrap-bumper">#define <a href="#ga40c5e3d1bd25d563f14e49b4f5fc1fe2" class="m-doc-self">BN_AUDIO_MIXING_RATE_31_KHZ</a></span>
              <div class="m-doc-include m-code m-inverted m-text-right"><span class="cp">#include</span> <a class="cpf" href="bn__audio__mixing__rate_8h.html">&lt;bn_audio_mixing_rate.h&gt;</a></div>
            </h3>
<p>31Khz mixing rate, provides the best quality, highest CPU load.</p>
          </div></section>
          <section class="m-doc-details" id="ga2354778524e6096596ef0f14cade4b5e"><div>
            <h3>
              <span class="m-doc-wrap-bumper">#define <a href="#ga2354778524e6096596ef0f14cade4b5e" class="m-doc-self">BN_AUDIO_MIXING_RATE_32_KHZ</a></span>
              <div class="m-doc-include m-code m-inverted m-text-right"><span class="cp">#include</span> <a class="cpf" href="bn__audio__mixing__rate_8h.html">&lt;bn_audio_mixing_rate.h&gt;</a></div>
            </h3>
<p>32Khz mixing rate, provides the best quality, highest CPU load.</p>
          </div></section>
          <section class="m-doc-details" id="ga7b90a013ba3f2fd8f4fbf9af10f7f7af"><div>
            <h3>
              <span class="m-doc-wrap-bumper">#define <a href="#ga7b90a013ba3f2fd8f4fbf9af10f7f7af" class="m-doc-self">BN_CFG_AUDIO_MIXING_RATE</a></span>
              <div class="m-doc-include m-code m-inverted m-text-right"><span class="cp">#include</span> <a class="cpf" href="bn__config__audio_8h.html">&lt;bn_config_audio.h&gt;</a></div>
            </h3>
<p>Specifies the initial Direct Sound mixing rate.</p><p>Values not specified in BN_AUDIO_MIXING_RATE_* macros are not allowed.</p>
          </div></section>
          <section class="m-doc-details" id="ga1771db534d475f52423a865a1f974654"><div>
            <h3>
              <span class="m-doc-wrap-bumper">#define <a href="#ga1771db534d475f52423a865a1f974654" class="m-doc-self">BN_CFG_AUDIO_STEREO</a></span>
              <div class="m-doc-include m-code m-inverted m-text-right"><span class="cp">#include</span> <a class="cpf" href="bn__config__audio_8h.html">&lt;bn_config_audio.h&gt;</a></div>
            </h3>
<p>Specifies Direct Sound mono/stereo output.</p><p>Mono output reduces CPU load.</p>
          </div></section>
          <section class="m-doc-details" id="gab0d547ea05a5ab8a50a3d22d0021fc48"><div>
            <h3>
              <span class="m-doc-wrap-bumper">#define <a href="#gab0d547ea05a5ab8a50a3d22d0021fc48" class="m-doc-self">BN_CFG_AUDIO_DYNAMIC_MIXING</a></span>
              <div class="m-doc-include m-code m-inverted m-text-right"><span class="cp">#include</span> <a class="cpf" href="bn__config__audio_8h.html">&lt;bn_config_audio.h&gt;</a></div>
            </h3>
<p>Specifies if Direct Sound dynamic mixing must be enabled or not.</p><p>Dynamic mixing automatically adjusts the mixing rate depending on the frequency of the sounds being played, up to a maximum of the mixing rate specified. It often yields a significant performance boost for only a very small drop in quality.</p>
          </div></section>
          <section class="m-doc-details" id="gac76e20400cf04b870f8c848980deaa85"><div>
            <h3>
              <span class="m-doc-wrap-bumper">#define <a href="#gac76e20400cf04b870f8c848980deaa85" class="m-doc-self">BN_CFG_AUDIO_MAX_COMMANDS</a></span>
              <div class="m-doc-include m-code m-inverted m-text-right"><span class="cp">#include</span> <a class="cpf" href="bn__config__audio_8h.html">&lt;bn_config_audio.h&gt;</a></div>
            </h3>
<p>Specifies the size of the audio commands list.</p><p>This list is processed and cleared when <a href="namespacebn_1_1core.html#aa849bfe482eb6964e3a29f9eba78f7b6" class="m-doc">bn::<wbr />core::<wbr />update()</a> is called.</p>
          </div></section>
        </section>
      </div>
    </div>
  </div>
</article></main>
<div class="m-doc-search" id="search">
  <a href="#!" onclick="return hideSearch()"></a>
  <div class="m-container">
    <div class="m-row">
      <div class="m-col-m-8 m-push-m-2">
        <div class="m-doc-search-header m-text m-small">
          <div><span class="m-label m-default">Tab</span> / <span class="m-label m-default">T</span> to search, <span class="m-label m-default">Esc</span> to close</div>
          <div id="search-symbolcount">&hellip;</div>
        </div>
        <div class="m-doc-search-content">
          <form>
            <input type="search" name="q" id="search-input" placeholder="Loading &hellip;" disabled="disabled" autofocus="autofocus" autocomplete="off" spellcheck="false" />
          </form>
          <noscript class="m-text m-danger m-text-center">Unlike everything else in the docs, the search functionality <em>requires</em> JavaScript.</noscript>
          <div id="search-help" class="m-text m-dim m-text-center">
            <p class="m-noindent">Search for symbols, directories, files, pages or
            modules. You can omit any prefix from the symbol or file path; adding a
            <code>:</code> or <code>/</code> suffix lists all members of given symbol or
            directory.</p>
            <p class="m-noindent">Use <span class="m-label m-dim">&darr;</span>
            / <span class="m-label m-dim">&uarr;</span> to navigate through the list,
            <span class="m-label m-dim">Enter</span> to go.
            <span class="m-label m-dim">Tab</span> autocompletes common prefix, you can
            copy a link to the result using <span class="m-label m-dim">⌘</span>
            <span class="m-label m-dim">L</span> while <span class="m-label m-dim">⌘</span>
            <span class="m-label m-dim">M</span> produces a Markdown link.</p>
          </div>
          <div id="search-notfound" class="m-text m-warning m-text-center">Sorry, nothing was found.</div>
          <ul id="search-results"></ul>
        </div>
      </div>
    </div>
  </div>
</div>
<script src="search-v2.js"></script>
<script src="searchdata-v2.js" async="async"></script>
<footer><nav>
  <div class="m-container">
    <div class="m-row">
      <div class="m-col-l-10 m-push-l-1">
        <p>Butano Docs. Created with <a href="https://doxygen.org/">Doxygen</a> 1.14.0 and <a href="https://mcss.mosra.cz/">m.css</a>.</p>
      </div>
    </div>
  </div>
</nav></footer>
</body>
</html>
